import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useBottomStore = defineStore('bottom', () => {
  let showBottom: any = ref(true)
  function changeBottomStatus() {
    // console.log('store中的修改方法调用')
    // console.log(showBottom)
    showBottom.value = !showBottom.value
  }

  return { showBottom, changeBottomStatus }
})
